3.800 \(\int \frac{\left (a+\frac{b}{x^2}\right ) x^2}{\sqrt{c+\frac{d}{x^2}}} \, dx\)

Optimal. Leaf size=51 \[ \frac{x \sqrt{c+\frac{d}{x^2}} (3 b c-2 a d)}{3 c^2}+\frac{a x^3 \sqrt{c+\frac{d}{x^2}}}{3 c} \]

[Out]

((3*b*c - 2*a*d)*Sqrt[c + d/x^2]*x)/(3*c^2) + (a*Sqrt[c + d/x^2]*x^3)/(3*c)

_______________________________________________________________________________________

Rubi [A]  time = 0.0847891, antiderivative size = 51, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 22, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.091 \[ \frac{x \sqrt{c+\frac{d}{x^2}} (3 b c-2 a d)}{3 c^2}+\frac{a x^3 \sqrt{c+\frac{d}{x^2}}}{3 c} \]

Antiderivative was successfully verified.

[In]  Int[((a + b/x^2)*x^2)/Sqrt[c + d/x^2],x]

[Out]

((3*b*c - 2*a*d)*Sqrt[c + d/x^2]*x)/(3*c^2) + (a*Sqrt[c + d/x^2]*x^3)/(3*c)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 7.11603, size = 44, normalized size = 0.86 \[ \frac{a x^{3} \sqrt{c + \frac{d}{x^{2}}}}{3 c} - \frac{x \sqrt{c + \frac{d}{x^{2}}} \left (2 a d - 3 b c\right )}{3 c^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate((a+b/x**2)*x**2/(c+d/x**2)**(1/2),x)

[Out]

a*x**3*sqrt(c + d/x**2)/(3*c) - x*sqrt(c + d/x**2)*(2*a*d - 3*b*c)/(3*c**2)

_______________________________________________________________________________________

Mathematica [A]  time = 0.042313, size = 34, normalized size = 0.67 \[ \frac{x \sqrt{c+\frac{d}{x^2}} \left (a c x^2-2 a d+3 b c\right )}{3 c^2} \]

Antiderivative was successfully verified.

[In]  Integrate[((a + b/x^2)*x^2)/Sqrt[c + d/x^2],x]

[Out]

(Sqrt[c + d/x^2]*x*(3*b*c - 2*a*d + a*c*x^2))/(3*c^2)

_______________________________________________________________________________________

Maple [A]  time = 0.009, size = 44, normalized size = 0.9 \[{\frac{ \left ( a{x}^{2}c-2\,ad+3\,bc \right ) \left ( c{x}^{2}+d \right ) }{3\,x{c}^{2}}{\frac{1}{\sqrt{{\frac{c{x}^{2}+d}{{x}^{2}}}}}}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int((a+b/x^2)*x^2/(c+d/x^2)^(1/2),x)

[Out]

1/3/x*(a*c*x^2-2*a*d+3*b*c)*(c*x^2+d)/((c*x^2+d)/x^2)^(1/2)/c^2

_______________________________________________________________________________________

Maxima [A]  time = 1.39092, size = 66, normalized size = 1.29 \[ \frac{b \sqrt{c + \frac{d}{x^{2}}} x}{c} + \frac{{\left ({\left (c + \frac{d}{x^{2}}\right )}^{\frac{3}{2}} x^{3} - 3 \, \sqrt{c + \frac{d}{x^{2}}} d x\right )} a}{3 \, c^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((a + b/x^2)*x^2/sqrt(c + d/x^2),x, algorithm="maxima")

[Out]

b*sqrt(c + d/x^2)*x/c + 1/3*((c + d/x^2)^(3/2)*x^3 - 3*sqrt(c + d/x^2)*d*x)*a/c^
2

_______________________________________________________________________________________

Fricas [A]  time = 0.215878, size = 49, normalized size = 0.96 \[ \frac{{\left (a c x^{3} +{\left (3 \, b c - 2 \, a d\right )} x\right )} \sqrt{\frac{c x^{2} + d}{x^{2}}}}{3 \, c^{2}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((a + b/x^2)*x^2/sqrt(c + d/x^2),x, algorithm="fricas")

[Out]

1/3*(a*c*x^3 + (3*b*c - 2*a*d)*x)*sqrt((c*x^2 + d)/x^2)/c^2

_______________________________________________________________________________________

Sympy [A]  time = 2.79483, size = 70, normalized size = 1.37 \[ \frac{a \sqrt{d} x^{2} \sqrt{\frac{c x^{2}}{d} + 1}}{3 c} - \frac{2 a d^{\frac{3}{2}} \sqrt{\frac{c x^{2}}{d} + 1}}{3 c^{2}} + \frac{b \sqrt{d} \sqrt{\frac{c x^{2}}{d} + 1}}{c} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((a+b/x**2)*x**2/(c+d/x**2)**(1/2),x)

[Out]

a*sqrt(d)*x**2*sqrt(c*x**2/d + 1)/(3*c) - 2*a*d**(3/2)*sqrt(c*x**2/d + 1)/(3*c**
2) + b*sqrt(d)*sqrt(c*x**2/d + 1)/c

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int \frac{{\left (a + \frac{b}{x^{2}}\right )} x^{2}}{\sqrt{c + \frac{d}{x^{2}}}}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((a + b/x^2)*x^2/sqrt(c + d/x^2),x, algorithm="giac")

[Out]

integrate((a + b/x^2)*x^2/sqrt(c + d/x^2), x)